<html>

<head>
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

    <style type="text/css">
        .title {
            width: 100%;
            height: 30px;
            text-align: center;
        }

        .content {
            display: flex;
            flex-direction: column;
            /* flex: 1; */
            background-color:#ff0000;
            width: 100%;
            height: 100%;
        }

        .flexFunction{
            width: 100%;
            height: 30px;
            background: #00ff00;
        }
    </style>
</head>

<body>
    <div id="container">
        <div class="title">字符串模板</div>
       
    </div>
    <script type="text/javascript">
     
    </script>
</body>

</html>